<template>
    <div>
        <my-table :column="cols" :lists="list" :border="true">
            <template slot-scope="scope">
                {{scope.row}}
                <input type="text" v-model="scope.rows.lover">
            </template>
        </my-table>
    </div>
</template>
<script>
import MyTable from './MyTable'
export default {
    components:{
       MyTable 
    },data(){
        return {
              list:[
                    { name:'婷婷',gender:'男',lover:'打人' },
                    { name:'萌萌',gender:'女',lover:'捶人' },
                    { name:'熊熊',gender:'女',lover:'班长' }
                ],
                cols:[ "昵称","性取向","爱好" ]
        }
    }

}
</script>
<style lang="less">
    
</style>